﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GeckoPhotos.Models.Image>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Delete
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Confirm Delete</h2>
    <fieldset>
        <legend>Fields</legend>
        <p>
            ImageID:
            <%= Html.Encode(Model.ImageID) %>
        </p>
        <p>
            OwnerUserID:
            <%= Html.Encode(Model.OwnerUserID) %>
        </p>
        <p>
            DateTimeCreated:
            <%= Html.Encode(String.Format("{0:g}", Model.DateTimeCreated)) %>
        </p>
        <p>
            ImageBlobID:
            <%= Html.Encode(Model.ImageBlobID) %>
        </p>
        <p>
            Caption:
            <%= Html.Encode(Model.Caption) %>
        </p>
    </fieldset>
    <p>
        <input type="submit" value="Delete" onclick="window.location.href='<%: Url.Action("DeleteConfirmed", "Image", new {id = Model.ImageID}) %>';" />
        <input type="submit" value="Cancel" onclick="window.location.href='<%: Url.Action("Index", "Image") %>';" />
    </p>
</asp:Content>
